Conversation
|
tested this PR today on an esp32 ttgo t-display. works greats 😄 i tried wrapping my OTA code inside a class and couldn't get it to work without static methods or functions outside of the class. but with this PR everything just works. |
|
Hi I also tried to use your PR with success, but it would be also useful to implement middlewares as methods of a class. I tried to do this myself, but I needed to implement methods callbacks also for middlewares. As i used this PR as base branch, I think it is better to share a diff here for review. Please note that some changes are untested (the operator==, removal of middlewares and old middlewares implementation. |
|
That about other callbacks? For example, esp32_https_server/src/WebsocketNode.hpp Line 11 in c7e98a6 |
|
Hi, need functional callbacks for a project, PR is fixing it. Is this going to be merged any time soon? Awesome Work! Got the server up in no time. |
|
Whats the chances of getting this moved along? Really need this Happy to help |
Allow to use
std::functionalorstd::bindto be used withResourceNodes.Needs a bit of testing before merging.
References